#include <iostream.h>
#include <stdio.h>
#include <conio.h>
#include <iomanip.h>
#include <stdlib.h>

             //1  2  3  4  5
int row1[5] = {0 ,50,-1,10,-1};
int row2[5] = {50,0 ,-1,-1,20};
int row3[5] = {-1,-1,0 ,6 ,15};
int row4[5] = {10,-1,6 ,0 ,-1};
int row5[5] = {-1,20,15,-1,0 };

int* map[5] = {row1, row2, row3, row4, row5};

void main(void)
{

}
